package cn.swust.model;

//用户表
public class UserBean {

	private int id;
	private String name;//用户名，唯一的
	private String password;//用户密码
	private int flag;//0,普通用户，(1-3)贫困生等级
	private float gold;//用户的金币，该币适合贫困生购买
	private float loveGold;//爱心币，用于捐献者的奖励
	private String chName;//用户中文名称
	private String idCard;//用户身份证
	private String eMail;//用户邮箱
	private int sex;//用户性别;1为男性，2为女性
	private int classify;//用户分类，0学生，1老师，2领导，3部门机构，4其他
	private String tel;//用户的联系电话
	private String payPwd;//用户的支付密码
	
	public String getPayPwd() {
		return payPwd;
	}

	public void setPayPwd(String payPwd) {
		this.payPwd = payPwd;
	}

	public UserBean(){
		id = 0;
		name = "";
		password = "";
		flag = 0;
		gold = 0;
		loveGold = 0;
		sex = 1;
		classify = 0;
		payPwd = "123456";
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public int getFlag() {
		return flag;
	}
	public void setFlag(int flag) {
		this.flag = flag;
	}
	public float getGold() {
		return gold;
	}
	public void setGold(float gold) {
		this.gold = gold;
	}
	public float getLoveGold() {
		return loveGold;
	}
	public void setLoveGold(float loveGold) {
		this.loveGold = loveGold;
	}
	public String getChName() {
		return chName;
	}
	public void setChName(String chName) {
		this.chName = chName;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String geteMail() {
		return eMail;
	}
	public void seteMail(String eMail) {
		this.eMail = eMail;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	public int getClassify() {
		return classify;
	}
	public void setClassify(int classify) {
		this.classify = classify;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
}
